Skip to content

docs(llms): add 'when to use it' and recipes, link llms.txt from PyPI - #77

Merged
petercorke merged 3 commits into
mainfrom
docs/llms-when-to-use
Oct 31, 2026
Merged

petercorke merged 3 commits into
mainfrom
docs/llms-when-to-use

Conversation

@petercorke

Copy link
Copy Markdown
Owner

What

  • docs/llms_intro.md (the hand-written part of llms.txt): new When to use it section, including what the package is not for, and a Recipes section of task-phrased one-liners.
  • pyproject.toml: llms.txt project URL, so it shows on the PyPI page.

Why

An agent helping with a user's problem has to choose between packages, and users describe tasks rather than API names. llms.txt previously said how to use the package but not when to reach for it.

Checked

Every recipe was run against the current code. make -C docs html llms produces both sections in llms.txt and llms-full.txt. (The Sphinx build prints warnings that predate this change.)

🤖 Generated with Claude Code

Agents choosing between packages need to know what this one is for and
what it is not for, and users phrase problems as tasks, not API names.
llms_intro.md gains a "When to use it" section (including what it is not
for) and a "Recipes" section of task-phrased one-liners, each checked
against the current code. pyproject.toml gains a project URL for
llms.txt so it is discoverable from the PyPI page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.05%. Comparing base (754ca27) to head (20d00fe).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   98.05%   98.05%           
=======================================
  Files           4        4           
  Lines        1590     1590           
=======================================
  Hits         1559     1559           
  Misses         31       31           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@petercorke
petercorke merged commit ffb259d into main Oct 31, 2026
12 checks passed
@petercorke
petercorke deleted the docs/llms-when-to-use branch October 31, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant